<style tyle="text/css">
    .modal-lg {
      width: 80%;
    }
	.red {
      color: #f00
    }
</style>
<div class="modal-header">
  <h4 class="modal-title">{{company_name}}
		<span style="font-size: 16px">
			[可用补贴额：<span class="red">{{remainmoney / 100 | currency: '￥'}}</span>]
			[本次补贴额：<span class="red">{{actual_money / 100 | currency: '￥'}}</span>]
		</span>
    <span class="pull-right" ng-click="cancel()" style="cursor:pointer">
      <i class="fa fa-times text-danger"></i>
    </span>
  </h4>
</div>
<div class="modal-body">
	<table class="table table-hover table-bordered" style="margin: 0px">
		<thead>
			<tr>
				<th class="text-center" style="width: 12%">游客姓名</th>
				<th class="text-center" style="width: 12%">联系方式</th>
				<th class="text-center" style="width: 14%">身份证号</th>
				<th class="text-center" style="width: 10%">补贴金额</th>
				<th class="text-center" style="width: 15%">补贴名称</th>
				<th class="text-center" style="width: 15%">使用时间</th>
				<th class="text-center" style="width: 9%">审批结果</th>
				<th class="text-center" style="width: 13%">操作</th>
			</tr>
		</thead>
		<tbody>
			<tr ng-repeat="obj in list">
				<td class="text-center">{{obj.name}}</td>
				<td class="text-center">{{obj.mobile}}</td>
				<td class="text-center">{{obj.cardno}}</td>
				<td class="text-center">{{obj.subsidy_num / 100 | currency: '￥'}}</td>
				<td>{{obj.subsidy_name}}</td>
				<td class="text-center">{{obj.order_state_time}}</td>
				<td class="text-center" ng-class="{'text-danger':obj.status!='1','text-success':obj.status1='0'}">
					{{obj.status=='1'?'合格':'不合格'}}
				</td>
				<td class="text-center">
					<button ng-click="gogo(obj,1)" ng-show="obj.status==-1" class="btn btn-success btn-xs">合格</button>
					<button ng-click="gogo(obj,-1)" ng-show="obj.status!=-1" class="btn btn-danger btn-xs">不合格</button>
				</td>
			</tr>
		</tbody>
	</table>
	
</div>
<div class="modal-footer" style="text-align: center">
	<div class="col-md-2 col-md-offset-4">
		<button class="btn btn-success btn-block" type="button" ng-click="pass()">审批通过</button>
	</div>
	<div class="col-md-2">
		<button class="btn btn-danger btn-block" type="button" ng-click="reject()">审批驳回</button>
	</div>
</div>

